<div class="place-admin-table">
	<table class="admin-table">
		<thead>
			<tr>
				<td>Câu hỏi</td>
				<td>Trả lời</td>
				<td>Cập nhật</td>
				<td>Chỉnh sửa</td>
			</tr>
		</thead>
		<tbody>
		<?php foreach($items as $item): ?>
			<tr>
				<td width="200"><?php echo $item -> question; ?></td>
				<td width="600"><?php echo $item -> answer; ?></td>
				<td><?php echo format_date($item -> updated_at); ?></td>
				<td>
					<a href="<?php echo Agilet::getUrl('admin/faq/edit', array('_id' => $item -> _id)); ?>">Chỉnh sửa</a> | 
					<a href="<?php echo Agilet::getUrl('admin/faq/delete', array('_id' => $item -> _id)); ?>">Xóa</a>
				</td>
			</tr>
		<?php endforeach; ?>
		</tbody>
	</table>
</div>
